Contents ----- Copyright Up Previous Next

She looks like the Sunday Comics
She thinks she's Brenda Star
Her nose job is real atomic
All she needs is an old knife scar

(Blondie, "Rip Her to Shreds")

Strip Specific Elements

SGML Comments

Usually there should be no need to use sgml-comments, so why not remove them at all? You can perform this by enabling the switch STRIPCOMMENT when invoking hsc.

Because of the numerous problems sgml-comments cause, you better use hsc-comments anyway (see there also for a discussion of these problems).

Specific Tags

..can be passed to the option STRIPTAGS, separated by a vertical bar (``|''). For example, to remove all physical styles, use STRIPTAG="B|I|U|TT" when invoking hsc.

You can't strip tags, which have the tag modifier /SPECIAL set. But this only concerns the <!>-tag (use the above switch instead) and some of hsc's internal tags, which you should not strip anyway.

Tags With External References

These can be removed if you want to create a No-Net-version of your document. Use the switch STRIPEXTERNAL for this task. Tags which are affected by this must have an URI-type attribute, which has the attribute modifier /STRIPEXT set within hsc.prefs.

Currently, this affects only the tags <A>, <IMG> and <LINK>. This can be useful if you want to create a ``no-net-version'' of your documents.

Unneeded Linefeeds And White Spaces

These can be removed, if you heavy use them to structure your source, but don't want to waste bandwidth for them. You only need to enable the switch COMPACT.

If now someone performs a "View Source" on your html object,it will be less readable for him, but browsers won't care and display it the same way. For example,

This  is  a <B>complete</B>

    waste   of   space...
will turn into
This is a <B>complete</B>
waste of space...
In particular, hsc does:

Linefeeds and white spaces inside a tag call are also affected by this option. The tag <PRE> temporarily suppresses this option, until a </PRE> occures.